<%@ include file="header.jsp" %>
<h1>Lista de Problemas Examenes</h1>
<table>
<tr>
	<td>ID</td>
	<td>Nombre</td>
<td>Seleccion</td>
</tr>
<form:form commandName="contest" method="post" action="problemselect.html">
<c:forEach items="${contest.problems}" var="problema">

	<tr>
	<td>
	<c:out value="${problema.id}"/>
	</td>
	<td>
	<c:out value="${problema.name}"/>
	</td>
	<td>
	PRIVATE
	</td>
	<td>
	<input type="checkbox" name="problemids" value="${problema.id}" />
	</td>
	</tr>

</c:forEach>
</table>
<br></br>
	<h1>Creacion de Examen</h1>
			Nombre Contest: <form:input path="name" /><br />
			Begin Date: <form:input path="beginDate" /><br />
			End Date: <form:input path="endDate" /><br />
			<input type="submit" value="Crear" />
</form:form>
<%@ include file="footer.jsp" %>